Smartling\Vendor\Symfony\Component\Filesystem\Tests\FilesystemTest B

Total Complexity 85
Dependencies 2
Dependents 0
Total lines 1,150
Lines of code 696
Logical lines of code 484
Comment lines 84
Methods 75
Properties 0

Methods 75

Method Rating Maintainability Complexity Lines of code
providePathsForMakePathRelative()
S
49 2 33
testMirrorCopiesRelativeLinkedContents()
S
56 2 16
testFilesExistsFails()
S
58 2 15
testCopyWithOverrideWithReadOnlyTargetFails()
S
59 2 14
testRemoveCleansInvalidLinks()
S
59 2 13
testMirrorCopiesFilesAndDirectoriesRecursively()
S
51 1 28
testSymlink()
S
62 2 11
testTempnamWithPharSchemeFails()
S
63 2 10
testCopyUnreadableFileFails()
S
63 2 10
testDumpFileWithFileScheme()
S
63 2 10
testDumpFile()
S
64 2 9
testSymlinkCreatesTargetDirectoryIfItDoesNotExist()
S
60 1 13
testMirrorCopiesLinks()
S
61 1 12
testMirrorCopiesLinkedDirectoryContents()
S
60 1 12
testCopyOverridesExistingFileIfForced()
S
61 1 12
testCopyDoesNotOverrideExistingFileByDefault()
S
61 1 12
testChmodChangesModeOfTraversableFileObject()
S
62 1 11
testChmodChangesFileMode()
S
62 1 11
testFilesNotExistsTraversableObjectOfFilesAndDirectories()
S
63 1 11
testChmodChangesModeOfArrayOfFiles()
S
63 1 11
providePathsForIsAbsolutePath()
S
64 1 11
testRemoveCleansTraversableObjectOfFilesAndDirectories()
S
63 1 11
testRemoveCleansArrayOfFilesAndDirectories()
S
63 1 11
testChmodRecursive()
S
62 1 11
testSymlinkIsNotOverwrittenIfAlreadyCreated()
S
64 1 10
testRenameThrowsExceptionOnError()
S
71 1 5
testRemoveSymlink()
S
67 1 8
testMakePathRelative()
S
75 1 4
testSymlinkIsOverwrittenIfPointsToDifferentTarget()
S
64 1 10
testCopyCreatesNewFile()
S
66 1 8
testMirrorCreatesEmptyDirectory()
S
66 1 8
testIsAbsolutePath()
S
75 1 4
testRenameThrowsExceptionIfTargetAlreadyExists()
S
68 1 7
testTempnam()
S
73 1 5
testTempnamWithFileScheme()
S
68 1 7
testTempnamWithMockScheme()
S
66 1 8
testTempnamWithZlibSchemeFails()
S
72 1 5
testTempnamWithPHPTempSchemeFails()
S
69 1 7
testTempnamWithHTTPSchemeFails()
S
72 1 5
testTempnamOnUnwritableFallsBackToSysTmp()
S
64 1 9
testDumpFileOverwritesAnExistingFile()
S
68 1 7
testDumpFileWithZlibScheme()
S
67 1 7
testRenameOverwritesTheTargetIfItAlreadyExists()
S
65 1 9
testChownSymlinkFails()
S
66 1 8
testRename()
S
67 1 8
testFilesExists()
S
67 1 8
testCopyOverridesExistingFileIfModified()
S
63 1 10
testCopyCreatesTargetDirectoryIfItDoesNotExist()
S
63 1 10
testCopyForOriginUrlsAndExistingLocalFileDefaultsToCopy()
S
66 1 8
testMkdirCreatesDirectoriesRecursively()
S
69 1 7
testMkdirCreatesDirectoriesFromArray()
S
64 1 10
testMkdirCreatesDirectoriesFromTraversableObject()
S
64 1 10
testMkdirCreatesDirectoriesFails()
S
70 1 6
testTouchCreatesEmptyFile()
S
73 1 5
testTouchFails()
S
75 1 4
testTouchCreatesEmptyFilesFromArray()
S
64 1 10
testTouchCreatesEmptyFilesFromTraversableObject()
S
64 1 10
testRemoveCleansFilesAndDirectoriesIteratively()
S
67 1 8
testRemoveIgnoresNonExistingFiles()
S
66 1 9
testFilesExistsTraversableObjectOfFilesAndDirectories()
S
65 1 9
testChgrpFail()
S
69 1 6
testInvalidFileNotExists()
S
74 1 4
testChmodWrongMod()
S
70 1 6
testChmodAppliesUmask()
S
68 1 7
testChmodChangesZeroModeOnSubdirectoriesOnRecursive()
S
63 1 10
testChown()
S
70 1 6
testChownRecursive()
S
66 1 8
testChownSymlink()
S
66 1 8
testCopyFails()
S
72 1 5
testChownFail()
S
69 1 6
testChgrp()
S
70 1 6
testChgrpRecursive()
S
66 1 8
testChgrpSymlink()
S
66 1 8
testChgrpSymlinkFails()
S
66 1 8
testCopyShouldKeepExecutionPermission()
S
65 1 9